<%@ page language="java"  pageEncoding="UTF-8" contentType="text/html;charset=utf-8"%>
<%@ include file="/includes/main.jsp"%>

<h2 class="contentTitle"><hi:text key="编辑页面" parameterLanguageKeys="班次价格"/></h2>
<form action="tripPriceSave.action?navTabId=tripPriceList&callbackType=closeCurrent&ajax=1" method="post" class="pageForm required-validate" onsubmit="return validateCallback(this, navTabAjaxDone)">
<div class="pageContent">
	<div class="pageFormContent" layoutH="97">
		<dl>
			<dt><hi:text key="价格名称" entity="TripPrice"/>：</dt><dd><input type="text" name="tripPrice.name" class="textInput" value="${tripPrice.name}" maxlength="30"/></dd>
		</dl>
		<dl>
			<dt><hi:text key="散客返佣" entity="TripPrice"/>：</dt><dd><input type="text" name="tripPrice.individual_commission" class="textInput required float" value="${tripPrice.individual_commission}" alt="<hi:text key="请输浮点数"/>"/></dd>
		</dl>
		<dl>
			<dt><hi:text key="团队返佣" entity="TripPrice"/>：</dt><dd><input type="text" name="tripPrice.group_commission" class="textInput float" value="${tripPrice.group_commission}" alt="<hi:text key="请输浮点数"/>"/></dd>
		</dl>
		<dl>
			<dt><hi:text key="网络追加返佣" entity="TripPrice"/>：</dt><dd><input type="text" name="tripPrice.net_commission" class="textInput float" value="${tripPrice.net_commission}" alt="<hi:text key="请输浮点数"/>"/></dd>
		</dl>
		<dl>
			<dt><hi:text key="成团标准" entity="TripPrice"/>：</dt><dd><input type="text" name="tripPrice.group_number" class="textInput integer" value="${tripPrice.group_number}" alt="<hi:text key="请输入整数"/>"/></dd>
		</dl>
		<dl>
			<dt><hi:text key="返佣对象" entity="TripPrice"/>：</dt><dd><hi:select emu="commissionTo" name="tripPrice.to_whom"/></dd>			
		</dl>
				<input type="hidden" name="tripPrice.id" value="${tripPrice.id}"/>
				<input type="hidden" name="tripPrice.trip.id" value="${tripPrice.trip.id}"/>
				<input type="hidden" name="tripPrice.creator.id" value="${tripPrice.creator.id}"/>
				<input type="hidden" name="tripPrice.version" value="${tripPrice.version}"/>

		<div class="divider"></div>
			</div>
	<div class="formBar">
		<ul>
			<li><div class="buttonActive"><div class="buttonContent"><button type="submit"><hi:text key="保存"/></button></div></div></li>
			<li><div class="button"><div class="buttonContent"><button class="close" type="button"><hi:text key="关闭"/></button></div></div></li>
		</ul>
	</div>  
</div>
</form>
